/**
 * 2016，thor.com，all rights reserved。
 * 
 * Project：		palmmall-api
 * Filename：	ANotice.java
 * Created：		2016年9月11日
 * Creator：		wolv
 */
package com.thor.palmmall.rest.notice;

import java.util.ArrayList;
import java.util.Date;
import java.util.List;

import com.thor.commons.entity.Entity;
import com.thor.palmmall.rest.common.AAttachment2;
import com.thor.palmmall.rest.common.AOperateInfo;

/**
 * @author wolv
 *
 */
public class ANotice2 extends Entity {
  private static final long serialVersionUID = 6055282653122258589L;

  private long version;
  private AOperateInfo createInfo;
  private AOperateInfo lastModifyInfo;
  private String title;
  private Date validBeginDate;
  private Date validEndDate;
  private String content;
  private String remark;
  private String bizState;
  private String category;
  private Number readedCount;
  private List<AReceiver> receivers = new ArrayList<AReceiver>();
  private List<AReader> readers = new ArrayList<AReader>();
  private List<AAttachment2> attachments = new ArrayList<AAttachment2>();
  private String abortMsg;

  public long getVersion() {
    return version;
  }

  public void setVersion(long version) {
    this.version = version;
  }

  public AOperateInfo getCreateInfo() {
    return createInfo;
  }

  public void setCreateInfo(AOperateInfo createInfo) {
    this.createInfo = createInfo;
  }

  public AOperateInfo getLastModifyInfo() {
    return lastModifyInfo;
  }

  public void setLastModifyInfo(AOperateInfo lastModifyInfo) {
    this.lastModifyInfo = lastModifyInfo;
  }

  public String getTitle() {
    return title;
  }

  public void setTitle(String title) {
    this.title = title;
  }

  public Date getValidBeginDate() {
    return validBeginDate;
  }

  public void setValidBeginDate(Date validBeginDate) {
    this.validBeginDate = validBeginDate;
  }

  public Date getValidEndDate() {
    return validEndDate;
  }

  public void setValidEndDate(Date validEndDate) {
    this.validEndDate = validEndDate;
  }

  public String getContent() {
    return content;
  }

  public void setContent(String content) {
    this.content = content;
  }

  public String getRemark() {
    return remark;
  }

  public void setRemark(String remark) {
    this.remark = remark;
  }

  public List<AAttachment2> getAttachments() {
    return attachments;
  }

  public void setAttachments(List<AAttachment2> attachments) {
    this.attachments = attachments;
  }

  public String getBizState() {
    return bizState;
  }

  public void setBizState(String bizState) {
    this.bizState = bizState;
  }

  public String getCategory() {
    return category;
  }

  public void setCategory(String category) {
    this.category = category;
  }

  public Number getReadedCount() {
    return readedCount;
  }

  public void setReadedCount(Number readedCount) {
    this.readedCount = readedCount;
  }

  public List<AReceiver> getReceivers() {
    return receivers;
  }

  public void setReceivers(List<AReceiver> receivers) {
    this.receivers = receivers;
  }

  public List<AReader> getReaders() {
    return readers;
  }

  public void setReaders(List<AReader> readers) {
    this.readers = readers;
  }

  public String getAbortMsg() {
    return abortMsg;
  }

  public void setAbortMsg(String abortMsg) {
    this.abortMsg = abortMsg;
  }

}
